<h3><?php echo CHtml::encode($title); ?></h3>
<?php $this->widget('zii.widgets.CDetailView', array(
    'data'=>$data,
    'attributes' => array(
        array(
            'label' => Yii::t('site','Created On'),
            'type' => 'raw',
            'value' => Yii::app()->dateFormatter->formatDateTime($data->tsCreated,'medium','long')
        ),
        array(
            'label' => Yii::t('site','Created By'),
            'type' => 'raw',
            'value' => User::model()->findByPk($data->userIdCreated)->recordName
        ),
        array(
            'label' => Yii::t('site','Updated On'),
            'type' => 'raw',
            'value' => Yii::app()->dateFormatter->formatDateTime($data->tsUpdated,'medium','long')
        ),
        array(
            'label' => Yii::t('site','Updated By'),
            'type' => 'raw',
            'value' => $data->userIdUpdated!==0 ? User::model()->findByPk($data->userIdUpdated)->recordName : '-'
        ),
    )
)); ?>
